package com.example.common.config.poll;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <p>
 *      线程池配置
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@Setter
@Getter
@ConfigurationProperties(prefix = "thread.pool")
public class ThreadPoolProperties {

    private int coreSize;

    private int maxSize;

    private int keepLive;

    private int queueSize;

    @Deprecated
    private String prefix;
}
